﻿Public Interface PersistenceService(Of T As Base)
    Inherits Service(Of PersistenceListener(Of T))
    Function findById(ByRef entity As T) As T

    Function findAll() As List(Of T)

    Sub save(ByRef entity As T)

    Sub delete(ByRef entity As T)
End Interface
